{% block sw_settings_listing_delete_modal %}
<sw-modal
    :title="title"
    variant="small"
    class="sw-settings-listing-delete-modal"
    @modal-close="emitCancel"
>

    {% block sw_settings_listing_delete_modal_body_description %}
    <p>{{ description }}</p>
    {% endblock %}

    {% block sw_settings_listing_delete_modal_footer %}
    <template #modal-footer>

        {% block sw_settings_listing_delete_modal_footer_cancel_button %}
        <mt-button
            size="small"
            variant="secondary"
            @click="emitCancel"
        >
            {{ $tc('global.default.cancel') }}
        </mt-button>
        {% endblock %}

        {% block sw_settings_listing_delete_modal_footer_delete_button %}
        <mt-button
            variant="critical"
            size="small"
            @click="emitDelete"
        >
            {{ $tc('global.default.delete') }}
        </mt-button>
        {% endblock %}
    </template>
    {% endblock %}
</sw-modal>
{% endblock %}
